package com.ywx.intelligentaicodegeneration;

import dev.langchain4j.community.store.embedding.redis.spring.RedisEmbeddingStoreAutoConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.session.config.annotation.web.server.EnableSpringWebSession;

@SpringBootApplication(exclude = {RedisEmbeddingStoreAutoConfiguration.class})//禁用RedisEmbeddingStoreAutoConfiguration
@EnableAspectJAutoProxy(exposeProxy = true)//启动时，将代理对象暴露给容器
@MapperScan("com.ywx.intelligentaicodegeneration.mapper")
public class IntelligentAiCodeGenerationApplication {
	public static void main(String[] args) {
		SpringApplication.run(IntelligentAiCodeGenerationApplication.class, args);
	}
}
